//
//  StoreUtil.h
//  JMZGO
//
//  Created by apple  on 17/7/19.
//  Copyright © 2017年 JMZ. All rights reserved.
//

#import <Foundation/Foundation.h>

#define UserPhone @"UserPhone"
#define UserPassword @"UserPassword"
#define UserLocation @"UserLocation"
#define SSIDMacAddress @"SSIDMacAdress"
#define Vtoken @"vtoken"
#define Guid @"guid"
#define ApType @"ApType"

@interface StoreUtil : NSObject

/**
 * 保存用户输入的手机号码
 */
+ (void)saveUserPhone:(NSString *)phone;

/**
 * 读取用户的手机号码
 */
+ (NSString *)getUserPhoneNumber;

/**
 * 保存portal页中的vtoken和guid aptype
 */
+ (void)saveVtoken:(NSString *)vtoken withGuid:(NSString *)guid withApType:(NSString *)aptype;

/**
 * 获取保存的vtoken
 */
+ (NSString *)getVtoken;

/**
 * 获取保存的guid
 */
+ (NSString *)getGuid;

/**
 * 获取保存的AP的类型
 */
+ (NSString *)getApType;

/**
 * 保存经纬度
 */
+ (void)saveUserLocation:(NSDictionary *)coordinate;

/**
 * 获取经纬度
 */
+ (NSDictionary *)getUserLocation;

/**
 * 保存SSID的Mac地址
 */
+ (void)saveSSIDMac:(NSString *)macAddress;

/**
 * 获取保存Mac地址
 */
+ (NSString *)getSaveSSIDMac;

@end
